const { defineConfig } = require('@vue/cli-service')
const path = require('path')
const resolve = dir => {
  return path.join(__dirname, dir)
}
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  configureWebpack: {
    resolve: {
      // 设置路径别名，设置后需保持jsconfig.json内一致
      alias: {
        '@': resolve('./src')
      }
    }
  }
})
